function moveWithConfirm(message, url) {
    var answer = confirm(message);
	if (answer){
	    window.location.href = url;
	}
}